package com.mengxingyun.shortlink.project.service;

import org.springframework.stereotype.Service;

/**
 * @Description: URL 标题服务层
 * @Author: heshen-mengxingyun
 * @Date: 2024/7/15 23:51
 */
public interface UrlTitleService {
    /**
     * 根据URL获取标题
     * @param url 目标网站地址
     * @return 网站标题
     */
    String getTitleByUrl(String url);
}
